package com.itheima.test4;

public class Test {

    public static void main(String[] args) {
        Outer outer = new Outer();
        outer.sing();
    }
}

class Outer{

    public void sing(){
        class Inner{
            int num=10;
            public void jump(){
                System.out.println("我是inner的Jump方法");
            }
        }
        Inner inner = new Inner();
        System.out.println(inner.num);
        inner.jump();
    }
}
